home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 25
/
Mac Magazin and MacEasy Magazine CD - Issue 25.iso
/
Grafik & Text
/
Alpha
/
Tcl
/
ElectricAlias
/
Aliases
/
aliases.C++
< prev
next >
Wrap
Text File
|
1996-08-12
|
1KB
|
30 lines
# Aliases for C++ mode
electricAlias-def •C++ •C++ •C++
electricAlias-var C++ bb "\{"
electricAlias-var C++ eb "\}"
electricAlias-var C++ bc "//"
electricAlias-var C++ ec ""
electricAlias-def •C++ \{ "§{bb}\r\t•\r§{eb}•"
electricAlias-def •C++ do "do §{bb}\r\t•\r§{eb} while (•);•"
electricAlias-def •C++ for "for (•;•;•) §{bb}\r\t•\r§{eb} §{bc}endfor§{ec}•"
electricAlias-def •C++ while "while (•) §{bb}\r\t•\r§{eb} §{bc}endwhile§{ec}•"
electricAlias-def •C++ if "if (•) §{bb}\r\t•\r§{eb} §{bc}endif§{ec}•"
electricAlias-def •C++ else "\b§{eb} else §{bb}\r•"
electricAlias-def •C++ switch "switch (•) §{bb}\r\t•\r§{eb}§ {bc}endswitch§{ec}•"
electricAlias-def •C++ case "\bcase •:\r•"
electricAlias-def •C++ default "\bdefault:\r•"
electricAlias-def •C++ struct "struct §{bb}\r\t•\r§{eb} •;\r•"
electricAlias-def C++ ? "? • : •;•"
electricAlias-def •C++ class "class • : • §{bb}\rprivate:\r\t•\rpublic:\r\t•\rprotected:\r\t•\r§{eb};\r•"
electricAlias-def •C++ template "template <class •>\r•"
electricAlias-def •C++ try "try §{bb}\r\t•\r§{eb};•\rcatch (•) §{bb}\r\t•\r§{eb};•"
electricAlias-def •C++ catch "catch (•) §{bb}\r\t•\r§{eb};•"
electricAlias-def •C++ throw "throw •(•);•"
electricAlias-def •C++ #if "#if •\r\t•\r#endif•"
electricAlias-def •C++ #ifdef "#ifdef •\r\t•\r#endifdef•"
electricAlias-def •C++ #ifndef "#ifndef •\r\t•\r#endifndef•"
electricAlias-def •C++ #else "\b#else\r•"